<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
	<style type="text/css">
		#ta{
			
			width: 650px;
			margin: auto;
		}
		#ta th,td{
			text-align: center;
		}
		#ta tr:nth-child(2n){
			background-color: #eeffff;
		}
		#ta tr:first-child{
			background-color: #9bcdff;
		}
	</style>


	<script>
	
</script>
</head>

<body>
	<div style="width: 1090px;height: 540px;background-color: #FFF;margin: 20px;">
		<h4
			style="background-color: #9FB2C2; padding-left: 10px; color: #516D8A; line-height: 40px;">
			<img alt="" src="${initParam.url}/statics/images/title.jpg">
			小区管理员
		</h4>
		
		<table id="ta">
			<tr>
				<th>小区名称</th>
				<td>物管用户名</td>
				<th>手机号码</th>
				<th>操作</th>
			</tr>
		<c:forEach var="man" items="${manage}">
			<tr>
				<td>${man.community.communityName }</td>
				<td>${man.user.userName }</td>
				<td>${man.phone }</td>
				<td>
					<input class="btn btn-default" onclick="window.location.href='${initParam.url}/admin/power?id='+${man.id}" type="button" value="设置权限">
				</td>
			</tr>
		</c:forEach>
		</table>
	</div>
</body>
</html>